package ModelLayer;
import java.util.ArrayList;

public class Customer {
    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private int id_customer;
    private int id_gender;
    private String secure_key;
    private String email;
    private String passwd;
    private int birthday;
    private String lastname;
    private boolean newsletter;
    private boolean optin;
    private String firstname;
    private boolean active;
    private boolean deleted;
    private int date_add;
    private int date_upd;
    private ArrayList<Integer> groupIDs = new ArrayList<Integer>();
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public Customer() {
    }

    public Customer(int id_customer, int id_gender, String secure_key, String email,
            String passwd, int birthday, String lastname, boolean newsletter, boolean optin,
            String firstname, boolean active, boolean deleted, int date_add, int date_upd) {
        this.id_customer    = id_customer;
        this.id_gender      = id_gender;
        this.secure_key     = secure_key;
        this.email          = email;
        this.passwd         = passwd;
        this.birthday       = birthday;
        this.lastname       = lastname;
        this.newsletter     = newsletter;
        this.optin          = optin;
        this.firstname      = firstname;
        this.active         = active;
        this.deleted        = deleted;
        this.date_add       = date_add;
        this.date_upd       = date_upd;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Set & Get Methods">
    //Set & Get: ID
    public void setIDCustomer(int id_customer) {
        this.id_customer = id_customer;
    }
    public int getIDCustomer() {
        return this.id_customer;
    }

    //Set & Get: Gender
    public void setIDGender(int id_gender) {
        this.id_gender = id_gender;
    }
    public int getIDGender() {
        return this.id_gender;
    }

    //Set & Get: SecureKey
    public void setSecureKey(String secure_key) {
        this.secure_key = secure_key;
    }
    public String getSecureKey() {
        return this.secure_key;
    }

    //Set & Get: Email
    public void setEmail(String email) {
        this.email = email;
    }
    public String getEmail() {
        return this.email;
    }

    //Set & Get: Password
    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }
    public String getPasswd() {
        return this.passwd;
    }

    //Set & Get: Birthday
    public void setBirthday(int birthday) {
        this.birthday = birthday;
    }
    public int getBirthday() {
        return this.birthday;
    }

    //Set & Get: Lastname
    public void setLastname(String lastname) {
        this.lastname = lastname;
    }
    public String getLastname() {
        return this.lastname;
    }

    //Set & Get: Newsletter
    public void setNewsletter(boolean newsletter) {
        this.newsletter = newsletter;
    }
    public boolean getNewsletter() {
        return this.newsletter;
    }

    //Set & Get: Optin
    public void setOptin(boolean optin) {
        this.optin = optin;
    }
    public boolean getOptin() {
        return this.optin;
    }

    //Set & Get: Firstname
    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }
    public String getFirstname() {
        return this.firstname;
    }

    //Set & Get: Active
    public void setActive(boolean active) {
        this.active = active;
    }
    public boolean getActive() {
        return this.active;
    }

    //Set & Get: Deleted
    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
    public boolean getDeleted() {
        return this.deleted;
    }

    //Set & Get: Date Add
    public void setDateAdd(int date_add) {
        this.date_add = date_add;
    }
    public int getDateAdd() {
        return this.date_add;
    }

    //Set & Get: Date Upd
    public void setDateUpd(int date_upd) {
        this.date_upd = date_upd;
    }
    public int getDateUpd() {
        return this.date_upd;
    }

    //Set & Get: GroupIDs
    public void setGroupIDs(ArrayList<Integer> groupIDs) {
        this.groupIDs = groupIDs;
    }
    public ArrayList<Integer> getGroupIDs() {
        return this.groupIDs;
    }
    // </editor-fold>
}